package com.mccken.temp.visitor;

import com.mccken.temp.resource.PPTFile;
import com.mccken.temp.resource.PdfFile;
import com.mccken.temp.resource.WordFile;

/**
 * @program: mccken-collect
 * @description:
 * @author: mccken
 * @create: 2022-02-11 15:32
 **/
public class Compressor implements Visitor {

	public void extract2txt(PPTFile pptFile) {
		//... 
		System.out.println("Compressor PPT.");
	}

	public void extract2txt(PdfFile pdfFile) {
		//... 
		System.out.println("Compressor PDF.");
	}

	public void extract2txt(WordFile wordFile) {
		//... 
		System.out.println("Compressor WORD.");
	}

	@Override
	public void visit(PPTFile pptFile) {
		
	}

	@Override
	public void visit(PdfFile pdfFile) {

	}

	@Override
	public void visit(WordFile wordFile) {

	}
}
